package com.ws.main;

import java.rmi.RemoteException;

import com.ws.impl.HelloBean;
import com.ws.impl.HelloServiceImplServiceSoapBindingStub;

public class WsClientTest {

	public static void main(String[] args) throws RemoteException {
		HelloServiceImplServiceSoapBindingStub stub = new HelloServiceImplServiceSoapBindingStub();
		String ret = stub.sayHello("client");
		System.out.println("axis sayHello:" + ret);

		HelloBean helloBean = stub.sayHelloBean("axis client");
		System.out.println("axis helloBean:" + helloBean);
	}
}
